package cn.simple.manager.todo;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@EqualsAndHashCode(callSuper = false )
@NoArgsConstructor
@Entity
@Table(name = "bannerstorage")
@Data
public class BannerStorage {
    @Id
    @Column
    private String id;

    @Column
    private String mediaId;

    @Column
    private Date createTime;

    @Column
    private String type;

    @Column
    private String url;

    @Column
    private String title;

    @Column
    private String content;

    @Column
    private Date updateTime;

    @Column
    private String thumbUrl;

    @Column
    public int updateCount;

    @Column
    public double sort;
}
